package com.baijing.spring_boot_starter_hello;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

@ConfigurationProperties(prefix = "hello")
public class HelloServiceProperties {
    private static final String MSG = "baijing world";
    private String msg = MSG;

    public String getMSG() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
